package com.mask.aop.service.impl;

import com.mask.aop.service.UserService;
import org.springframework.stereotype.Service;

/**
 * ClassName UserServiceImpl
 * Create by hx
 * Date 2021/9/23 10:55 上午
 */

@Service("userService")
public class UserServiceImpl implements UserService {
    @Override
    public void save() {
        System.out.println("saving...");
    }

    @Override
    public void query() {
        System.out.println("query");
    }

    @Override
    public void update() {
        System.out.println("update");
    }

    @Override
    public void delete() {
        System.out.println("deleting");
    }

    @Override
    public void batch() {
        int i = 1 / 0;
        System.out.println("batching...");
    }
}
